<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
// 引用组件
import Banner from './components/Banner'
import Navigator from './components/Navigator'
import Competition from './pages/Competition'
import Class from './pages/Class'
import Resource from './pages/Resource'
import Plan from './pages/Plan'
import Question from './pages/Question'
import Login from './pages/Login'
import Index from './pages/Index'
import Tinymce from './components/Tinymce'
import CompetitionEdit from './pages/CompetitionEdit'

export default {
  name: 'App',
  // 注册组件
  components: {
    Competition,
    Navigator,
    Banner: Banner,
    Class,
    Plan,
    Question,
    Resource,
    Login,
    Index,
    Tinymce,
    CompetitionEdit
  }
}
</script>
<style>
#app {
  height: 100%;
}
</style>
